Skip to main content

All Questions

Tagged with
0votes
0answers
36views

display posts, pages and custom post types from another wordpress site

I have 2 sites one acting as a parent and the second acting as a branch of the organization. The sites are on different domains and databases. I want to display on the branch site some posts and ...
Joxmar's user avatar
0votes
0answers
204views

custom email validation using javascript api with elementor pro and code snippets

I am not very familiar with WordPress and CSS however, my system info is mentioned below: php 8.0.7 wordpress 5.7.2 woocommerce 5.4.1 elementor pro 3.3.1 theme twenty-twentyone my email provider is ...
CADENTIC's user avatar
0votes
1answer
82views

Get /users/me details from Wordpress backend

Is there anyway to get the same details as /users/me api command but in WP backend? I have backend function that would get the user meta details custom api /user_meta public myFunc( $userId ) { $...
NeedHelp101's user avatar
0votes
0answers
128views

mailchimp integration on a custom footer

I want the user to be able to opt-in to a MailChimp newsletter within a custom footer, which one. of our clients has asked for. The client also uses MailChimp so we therefore cannot use anything like ...
hillybob991's user avatar
0votes
1answer
129views

WordPress custom API endpoint - how to make the request more flexible

I'm creating simple API endpoint to fetch custom post type items with specified category and tags. function my_awesome_func( $data ) { $posts = get_posts( array( 'post_type' => 'faq', ...
cooper33's user avatar
0votes
1answer
992views

Custom API plugin to execute 3rd party API to retrieve data

I am new to WordPress here. I have this request where I need to create a custom REST API plugin where when user triggers the following URL link: www.example.com/wp-json/v1/getCoupon/123456?CouponID=...
BBBBB86's user avatar
0votes
1answer
425views

Customizer JS API get value of customizer field

I want to use a javascript plugin on my website that should be initialized with values set in the wordpress customizer. Kirki::add_field( 'artist_theme_config', array( 'type' => 'select', ...
user9's user avatar
2votes
3answers
545views

Defer Code in Widgets - Page Speed

How to UP Page Speed With Widget Defer? Is there a way to defer a widget in the footer? I have an external API in a footer widget which is slowing down my page. It is not needed until the page is ...
Electron's user avatar
2votes
1answer
893views

How do I perform a "get" call to an external API, and then display the JSON results on a page in my WordPress site?

A client has an external API that is storing all member info. My tasks are: a.) Create a 'Member Profile Search' page on his site, where users can search for members using certain keywords. b.) ...
codePoet's user avatar
0votes
2answers
299views

Adding tags when creating new post

I am trying to create a new post with tags. Not having any luck and am not able to find any explanations online of what I may be doing wrong. methods: { createPost: function() { let title = ...
Zach Tackett's user avatar
1vote
0answers
240views

Add Custom API Call to WP-Login.php

I want to trigger an API call to another system every single time when a new user register (in real time). Therefore, I opened the wp-login.php and I was able to locate the register form but I'm not ...
jP_'s user avatar
  • 11
2votes
1answer
974views

REST-API: extend media-endpoint

I want to modify the REST-API (media-endpoint) and add a new field called media_category. First I tried this with the post-endpoint, this has worked well, but when I try the same with the media-...
TheBalco's user avatar
0votes
1answer
1kviews

Instructure Canvas API with Wordpress [closed]

My client has an account on Canvas LMS where he is running his institute, he wants a wordpress website that should be connected to his canvas LMS account and he should be able to handle requests from ...
Syed Haris Ali Ghaznavi's user avatar
1vote
1answer
650views

Set Title from Custom Template

I'm building a site that uses a custom template to display a set of listings that are pulled from an external API. I need to set the title and meta description values using data from the API. I've ...
user135498's user avatar
5votes
2answers
430views

Using filters and actions for plugin API?

I want to integrate a public API to a plugin that I develop. The usual way other plugins integrate APIs is to define some functions that can be called by any theme or plugin. However, I think this ...
Philipp's user avatar
  • 1,242

153050per page
close